setting up server
started basic rest server and JSON format