Refactoring: Separate SqlReader object and SqlRegistry object