Template pathing and correct module declaration