moved variables to locals for partials, added namespaced routes to avoid confusion for mounting apps.