added new entity connection method
Merge pull request #39 from amuramoto/master

added new entity connection method