various changes

- changed the player action to be an  int
- changed the file listener to read string commands
- changes in the direction of a 3+ layer architecture, with:
  - presentation: user interaction/layout
  - service: cross-cutting functionality
  - domain objects: the model 
  - repository: database or memory storage classes/interface