Added a lot of endpoints and converted to hal+json