General structure. Need to refactor
the database driven code with the interface.