Create an api only interface

The controller is removed and the api is the way to add and remove resources.