rearranged code and packages. done textured rectangle
new classes for better structure