added initialize, addOne and addAll functions to app view