added routes for urls of the type /part1 and /part1/part2. Moved module configs to the config folder