refactored config fields, moved to package
Added database executor
create database connection in main method
Changed executor interface. Added method