Added flat surface and small demo (not tested yet)