Simplified app creation code.