move Express routes into separate files + a bit of cleanup