added unit training functionality
finished implementing unit training system
Merge branch 'unit-training'