Use Enum Fully

Make use of enums being first class objects and add isAction method to
simplify code and improve readability.
Fix typo

Adjust quotation mark to make quit actually have multiple commands.
Change Space.Direction to first-class object

Have Space.Direction become a first-class object implementation of enum