App with main