Added support for multitable joins.
Bug fixes
Merge pull request #2 from antonmks/master

update source code