Move tools into modules and get rid of NPMap.Map._init