added model and migrations