Coding conventions document.
updated the subroutines and coding conventions