Modifies files for better use of the RESTful framework.
Fixed the requirements file
More changes to the rest API. Now we have some beacon defintions and more relations