I have added constructors as well as more function calls, we need to add a checker to the qr class