Starter implementing database in java