Extracted baseREST controller