Text this: Implementation of a brain-computer interface based on motor imagery