adding command handlers
add command handlers
add  command handlers that return results
beefed up tests