Fixed some bugs and implemented client API. Shell now supports both running server & client.