Created base template and models