#9: renamed module pathnames to connection_pathnames. refactoring code.
#10: added rspec. added simple test.
#10:#9: merged #9 to #10.
Merge pull request #11 from nikolaifedorov/10-use-rspec-for-testing

10 use rspec for testing