refactor manifest utils
debug app state displaying