standardised function/class names. wread/write functions and inherant variables are now private