refactoring startApp to add callback as a parameter and removing redundant varaibles
Merge pull request #14 from moizjv/fix-2026

Refactoring startApp to add callback as a parameter and removing redundant varaibles