small library to create entities