added handling and put/delete to http
finished device registration and management