better readme and some bugfixes