Added database retriever

Added database retriever