add method to delete partition
fixed a bug that getProperties doesn't work
add createPartition API