LCD library

Open up the library files and strip out the un-needed stuff, or remove the bits you need and implement your own function.
Would be easier to improve/modify the library to your own needs.
Or download the datasheet for the LCD and you can see what you need to control it.
If you have no LCD experience, read the data sheet and match what is going on in the library.