working database for saving actions

* db integration
* 2 images forgotton
* test enviroment introduced
* logging chaos handled