Request publish application
Refactoring code