From camelCase to underscore_names

Changed all function identifiers
Fixed (hopefully) all CamelCase occurrences