REST APIs

Initial commit for REST API part.
Status: OK