using pkg_resources for resource managemnt