Deleted deprecated stuff, better rest api
Add a test page