Refactored in classes and separated files. Started checking, not working, men adjusttightness infinte loop