Used request handler
Moved the license to follow best practices