Added readme. TODO: clean up and document existing functionality.