Add logfile modules, remove mod-utils.sh file and add src/core directory