added actor class and obstacle class