minor - config
minor - centralize path parsing
minor - router/paths