improved relational db layout; added quitting gracefully