Closes #16 Separating the metadata collection from main.js
Merge pull request #17 from erikvold/16

Closes #16 Separating the metadata collection from main.js