[Added] Seperate function to initialize simulator object