Added block class and bump collision detection