Added the database implementation script