added get method
added helper funcs for policy generation
added head request
change name of package on npm