added readme and fixed minor errors