add cost to discount and add registrator model
Merge branch 'develop'