added getLibraries
added printTable