removed debugging snippets
changed to saving the resource data in files instead of blobs in the database