updated README.md with example. Refactored some more and hide classes that didnt needed to be visible