Add templates and make categories and registration functional.