In vivo and in vitro T cell development