refactor and add blog docs
refactor and add blog docs