Broke up routes code into separate name spaces.