Add main application