Made a simple MVC implementation for the QL form.