Created the application stages table and modified related table; application.application