Html files:
upload : uploads the file
randomquery : Various moduls implemented within the same html file as well as the dynamic query

Python

application.py : It contains the python code with comments for the various modules