added a class to fetch resources from jar/zip