added new advance_stuff dir and the curve code