Move routes into their own file, factories into services, and use strict