added insertList and getSection methods
added editSection and treeToList functions