Move Rectangle2DInt to own header
Refactor into smaller classes
Fixed unitialized variable
Add testcase and debug output
Add SubPathInfo and export to json