moved more paths to the config file
callback for build task
named error function
more config stutff moved to the file
made the config cleaner and more DRY