Handle GET requests properly; Fix Application import error