Basic skelaton for the rest api