fixing #9; adding .iml file for intellij idea users. making samplefunctionaltest modular, as well as instructions on how to use.