added models and controllers for vendors, templates and homepages