started work on saving team to the db