You might want to consider "publishing on demand" services if you
want to run an affiliate program with a 50/50 split.
If you get a publishing house to produce the book for you, your
cut will relatively small. With a POD solution, you can have the books
printed as they are ordered (or optionally purchase a small batch)
and process the sales and orders yourself, running your own
affiliate system.