reformat code
remove idea junk
license