first code review

from Litecoin to Aidcoins first code changes by kreatorpt