created program model and migration