Entity builder