slightly updated styles
updated comments, documentation, and some typo styles