Added Interface class for calling functions and Game class for encapsulation.