Got json marshalling working.
Added basic restful resources and sorting