Added flags.
Added root route, and registration route.
Added templates.