cleanup files
add external libs to ADvancedMap
advancedmap cleanup