Added command handling basics
Cleaned up class namespaces