Started work on api, added auth config file
Wrote api demand handler
demand module will now assign a port if you don't request one. Also now returns results of the opperation