added README and comments