Documentation added and fixed