Changed code to not require a reference to the lcd class instance created in main