remove .idea from repo
lots of minor fixing