Don't know if you have mastered this part yet (I have not), but here is another post that I am determined to completely and thoroughly struggle through one of these days until I get it working and understand it all. Setting up libraries: a mini-guide.
Possibly lots of good info here even if you have already set everything up.