added basic rest server