Can now perform actions

Currently draw hurts yourself.
Json commands and responses.