final class diagram/database design