adds libraries map