Move errors to their own module
Raise error on missing templater or router