Updated tree gen.
Switched back to connection pooling.
Switched back to connection pooling.
PWS-103 #comment Updated storetree.ts to fix issues with subtype refs