Tab completion

Basic tab completion done. 

See #5.