added ability to process string input and updated README