Added readme, minor bug fixes.