adds app.main to repo