Fix name of functions and variables from CamelCase to SnakeCase