Creating an entities namespace and moving entity related functions out of mh2d.engine