remove app dep from Team and Sqlite