Refactored the DatabaseInitializer mess and added read-only comments.