started to refactor the makeresources and wsgi parts of manager to their own classes