install libraries module and create libraries directory