Added README
Added iml
Added some comments, code simplified