cone structure

1. Adding cone create, cone set and cone get funcitons
2. improvements on validation scripts