added function to check if db exists and then create it if not, insetad of having to call the doesDBExist and createDB functions
functionality to create/delete flows and to list all and currently running apps