Created /lib directory for helpers. Abstracted and improved module version finder; added a test.