remove dependency from asd and implement lazy load and intern.

Just I don't like to depend on many libraries.
But I don't think this is the best way.
I have to admit my version is much uglier.
Please apply this only if you can like it.