Completed most of the documentation