added base classes for CommandHandler and DaemonConnection
up arrow visits previous messages using escape sequence
Added debugger