make class methods private

This is possibly over zealous