implement ResouceManager and some resouce classes