Add Devices controller

Will handle the registration of devices. Must arrange routes.
Add two 'post' routes for devices register and update.