fixed problems with require and updated readme