Create main app file