Documentation added and updated

Written documentation and highlighted codes on documents.