Java implementation of Entity-Based Database