Moved tutorial code to tutorials repo