Updated main files.
Boxes class added with full functionality.