First draft of pricing engine

First draft of pricing engine