added .iml files to ignore list
added validation on input parameters