Added team class. Deleted 'common' folder. Bug fixes.