Added type hints. Renamed interface to match framework code guidelines.
Fixed database API
Fixed class path
Whoops
Fixed implementation
Fixed createResource() call
Fixed adapter implementation.