library to map entities