Reorganized the lcd code into a driver