added classes and tests
updated readme file