Moving singleton into design patterns directory.