Imported entity logic.
Merge https://github.com/Dosim-Online/DosimOnline.Server