Updated documentation

This PR helps to make the documentation a lot more friendly and understandable.