added actor class with input and graphics components