preparing for protote and namespace use. Added addClass, removeClass, hasClass