Updated from recent project - total rebuild

Took out the child theme and updated theme structure, module loading,
new system for loading external libraries and a bunch of bug-fixes.