Added TeamCleanup and fixed stringAsFactors
Some minor fixes
Initial commit