created the basic templates and routing