Major framework update

adding the basic use of the WTD framework