WIP: added full test set, also much work on routes and html frontend