add magic __get() method
some comment cleanup