added global app
updated tests and ui
updated tests and ui