Curve division 001

First commit with lot of bugs but a working layout.