Add entity manager and window module