add readme and fix problems