Finally finished the whole circuit of view - controller - service - REST - app - db and back. Added filter and sorting support as well.