Refactor Smilax to use the new database.