Restructure Complete

All JS Logic should be rewritten and all of the original functions
either redone, or removed. Albeit - I'm not promising anything works
since I'm currently working on a more robust configuration method.