Added abstract wrapper class for database jobs.
Added first select attempt.