add connection api
improve api for setup models
Merge pull request #68 from openjaf/feature/setup_api

Feature/setup api