changed everything to privates, why pollute the global namespace?

Signed-off-by: Chris Jones <chris@jonezy.org>