clean up and setup redport for testing
convert model methods to scope