[WIP] orm - entities and configuration