Added all app setup steps, with WaitConditions

* Database setup
* Data import
* Template creation