Creating feature layers and table views