added iml ignore
Cleaned up code and made it more robust so it can handle more types of project structures