updated config.hrl and renamed main_eqc to main