added connect-method templates (for the database)