Refactor install sql loading.

Create SchemaLoader component for sql loading.