Added README and fixed some small issues