removed stuff from ReTester
work in progress.
refactored to be easier to use.
added ResourceService