Resource manager update

! untested
* need to investigate and refactor renderer
* look into class composition