Module functions to create server, handle authentication

Authentication has been delegated from HaveAPI.
Add rackup config