create Trefoil framework