Structure for selling books and gaining money

Books now cost money to publish, needs code to give you money for salse,
etc.