Removed all static variables, must create a CoreRepo instance now

- The prior static setup was convenient, but was useless for document based applications