module2 changed to 2D array

changed from hashmap to 2D array, and remaned classes and variables to
increase comprehension