application generation working,need to improve now the code for the application itself