Commented the base and entity source codes