More API methods

- and more tests
WIP

- Working on push payload data model and JSON serialization