Scaffolding for the rest server