added getFormats(), added toLowerCase() conversion in getFormat(), and updated README.md