refactoring app bootstrap
maj