Added summary to public methods/variables, fixed typos, clarify comments