Added the ability to add coremods to buildfile

Adds the ability to specify coremods for the run configs for idea