Refactoring

Set library methods and variables private
Remove mystical number