Use TableGenerator for entities.
Added SQL script to create tables.
More tests...