Added MacOS stuff to IDEA build.
Added IDEA build.
Neatened import.