Temporary commit while formatting pc. May be buggy.

Also features major reconstruction to be more inline with a normal Express Node app.