Setting up libraries and stuff.