All stubs, some functions

Create stubs for all REST API methods, create some functions