Merge pull request #1 from Marcon/devel

Devel
move query to constants
add method for building domain objects
use domain builder for domain object creation.
query string too long
remove unused import
use correct exeptions
use similar statement name
don't handle exceptions with library.
Let user handle it(for example close resources and shut down application)