setup var as global
reorder init to comply with wordpress loading rules.. NOTE: potentially causes issues.
Merge branch 'Dev' of https://github.com/pagelines/DMS into Dev