refactor AppItem model
fix add_or_update_publisher to new_or_update_publisher
refactor ranking model
modify some var names