readme and some glm code added