add doc_lookup controller
add query and ranking function in model
update db
update router path
add test and helper
remove useless files and add doc_lookups view
update doc_id
update db function
update tf-idf to_db part