First version

Uses hash for database details.