Moved some config to config.h instead of inline in main.c