implemented basic entity endpoint mapping