Added Entities, and Database generation script