Standardized function naming, and added more consistent methods to prevent memory allocation errors.
config file