Refactor a few modules for better style

Generally speaking, only capitalize the first letter of camelCase vars that are written to behave like classes.