Removed numerous crappy functions and renamed a few files and updated docs.