Helper classes and extension methods for handling rectangles comfortably