Moved site functions and routes