add Manager class to wrap the stuff the rake tasks will do so we can test them a bit better.