Models and migrations

Models and migrations work. There are extra things (like the region table), but we can delete that later.