Map models from tables