added readme and some fixes