added base template and application layout