Refactor monlift post function

Refactored monlift post function. It was sending a null value as a
request when the request and token are altogether empty
Refactored the rest mechanism completely

Now rest endpoint are not harcoded into the client but discovered
dynamically. The entry point of the application, is at the api/start
endpoint.