adds previously removed Plugin interface definition and defines mechanism to setup the database