fix lib requirements
fix tests (some of them were just commented), remove unused/commented code, set migration graph as a configuration