Added json-rpc wrapper module

- Handler class now free of JSON-RPC boilerplate codes!
- Application class now a little messy - cleanup later!
- Convert tabs to spaces