[fedocal] #17: Split the API to its own controller