Multipurpose python web server using flask