Reorganization and collision boxes

Classes has been moved to a specific module and basic collision
detection has been added.