added plugin file which sets up the database