Added framework, boxes and collision detection