Creating entity and nullable submodules