Init for the modcore file