A couple of books I'd recommend that you should read are by Rob Grant (one half of the original Red Dwarf creators, the other being Doug Naylor)
Click on each suggestion for a synopsis for each book courtesy of Wiki:
I also recommend the Red Dwarf books too. Even if you have watched the episodes the books are so much funnier and darker.
All extremely funny and very well written.