add base template and necesary files for apps