Added README and fixed errors