First Major Commit

Base structure of code it finalized.
Removing a ton of ref code

Removing a lot of code used for reference.