Updated readme and finished object oriented version for issue #2