some missing files committed, also getAllThreasd is broken!!!!
big commit for 'final' draft of thesis