Added @cacheit. Fixed comments

Added @cacheit decorater.
Added space after `#` in comment.