Added convenience typedefs
Created rectangle class
Added support for multiple rectangles