[#14] Start using global entity manager

Close #14