Moved resource data etc. to metadata.js