added README.md
added src directory
converted to OOP