sorted imports and routes, closes #157