Updated the documentation to match quality standard for publishing.
Changed names of some internal structures