Entity Manager (Started)

Started the entityManager, still need to put in all the functions for it
but the outline is semi-there right now.