added basic mouse input and graphics