reorganizeCode

reorganized the source code,
+core.h: basic functions
edit RectangleTools.h