Added readme and removed dead code