refactored dirs structure, added and tested entropy method