app test, more refactoring of main framework startup