Re-structuring server code

* Moved restApi to api folder to modularise api’s in future
* Moved routes to routers folder to modularise api’s in future