Added requesthandler.py

Added requesthandler with handles the HTTP requests