added view drag support and controllers

added view drag support by pressing the left mouse button with controll
pressed and dragging the mouse. also added controllers to sort global
game mechanics.