make mode readable only at least one mode is defined
fix memory allocation
indentation
fix property set and get
IIDC feature names have an upper-case first letter