Switched from CamelCase to snake case

As suggested by @Heliosmaster.

Changed the API vars to snake case