Minor changes.
Added working example and removed some debug statements.
Added type hinting for the data adapter.
Added documentation.