refactored ads and added updated books module