Major restructuring of function names; stop exporting some functions

Aiming for consistency and not exporting functions not being used at
the moment. Re-oxygenizing at the same time.