Database Installation Script and Model