Added SQL for Kreise #12
Fixed some small bugs. Start and End points are now generated closes #12