Adding Main and Controller Templates