add size, position and rectangle classes.