experimental new code layout wip
Encapsulate authentication
Cleaning up debug-route
Stopping http server on test completion
Merge branch 'spike/experimental_new_code_layout' into development