Collecting required libraries