Functionality added and bugs fixed. Collide functionality removed for now.