fixes and cleanup
began work on states and organized code
implemented basic state swithcing
started work and fixed some bugs
code organization
updated player state functors to use inheritance in order to reduce code duplication
Created simple inheritance scheme for player functors to reduce
code duplication issues.

Also worked on setting state for remote player, basic functionality
implemented.

Accidentally git-reset some files causing a setback, managed to get
mostly everything back the way it was before the accident.

The implementation is very basic and includes many bugs and design
problems. Some fundamental refactoring may be warranted.