adding an app skeleton and initializing app and security