added basic command handling logic and command cli app for testing