Turned all the entropy generating function to be private. Added a callback when desired bits are generated. Removed tests that cannot access private functions.