Prefixing all the things

Prefix all the functions and fixing a few more small things.
Readability being one. Still lacking proper DocBlocks though.