move command handlers to controller

Signed-off-by: Steven Armstrong <steven.armstrong@inf.ethz.ch>
remove legacy code

Signed-off-by: Steven Armstrong <steven.armstrong@inf.ethz.ch>
cleanup Controller

Signed-off-by: Steven Armstrong <steven.armstrong@inf.ethz.ch>
implement client and cli

Signed-off-by: Steven Armstrong <steven.armstrong@inf.ethz.ch>