Add function descriptions
Use constants
Use camelCase method names
Fix some CS