(Partially) refactored root route
(Partially) refactored root route

TODO/FIXME Fix/remove the state changing bits, which are currently
commented out for sanity's sake

wtsi-hgi/CoGS-Webapp,wtsi-hgi/CoGS-Webapp,wtsi-hgi/CoGS-Webapp