created an external data model, refactored DBManager and JeparB