engine_config functions already are in a separate file. But it depends on log.h and that depends on another file. I noticed indeed that each file depends on another. 

Structure could be better, but I am not sure if I should put much work in that at this moment