Setup for persistence layer

Implement setup methods in persistence drivers to create appropriate
indices and views for resource models.