add base app code