use Singleton object for singleton.

removed singleton array property inside Container to simplify code.
added some comment.