Rough draft complete. Needs serious refactory. But I want to shit it ASAP for Interweb users.