Written missing methods in componentContainer: checking if component exist by pointer, and deleting component by pointer.