added pytest
added support for non-osx
added old session cleaning
added safe installation and backups