Added Point, Size and Rectangle classes. Other small fixes