Impoving responses

- Implemented custom Responses and Command to allow better handling of results
- Fixed returns for new types
- Tweaked json config for bad definitions
- Updated doc generator.
Adding a few more tests