add support for rectangles
add simple demo
remove unnecessary files