change the run method
turn off the debug flag
add gunicorn as require
add different templates for different source
add 404 page