Barebones quora logic coded in Ruby. Interacts with sqlite3