Prettied up a couple things

Loaded all libraries at head of file instead of throughout