Rest api integration

Related to ticket #17 

Here is an implementation of a simple hyperlinked API for the admin.