Changed the way private members are defined. Updated readme