create service layer to manage jsons arriving to controller
add test for successful get
add test for order creation validations
add test for creating new orders
split order representation in controller from the one in DB