initial commit; training logic complete and somewhat tested. prediction methods stubbed but not implemented.  some minor cleanup may remain.