Cleaned up JDBCHandler and pushed the behaviour our into specific operation classes.