Python/Tornado standalone website to scan entered text and order words by frequency in a MySQL database