Added upgrade script to make future DB updates quite easy.
Added cost feature.