First full version of team page implementation. Fixes for serialization and other little bugs.