Oct 15th

1 introduce data structure arraylist
2. change the logic of avoid cycle when set layer.