Cleaned up code and added a name propertie for team table and team class