Refactor Application file and get Bootstrap operational