refactor and add IDEA project files
lots of clean up
clean up logic of the messy called/uncalled stuff
renamings and cleanups
further simplifications