various: added resource module.