- removed typo in the RPC definition file
- added test cases using mocha
- split types
- ignoring more files