Created a singleton IDManager that creates a hashmap of all the entities and binds them to a long key.