markdown doc on database and prediction framework