Moved routing initialization to separate file