Introduced db connector and plain statement executor.
script improvments.