Completely rewrote config

and its pretty awesome now