added tf support and demos