update routings to more simple routes and node module style for configuration options