Added cache in EntityLoader, implemented Entity copying