Rewrote The Class

Rewrote the whole thing to be a bit more useful when creating themes
and moved the main file to the root folder