database change + create program

many model changes + create program