Encapsulating module variables, adding basic players logic