Now collects email addresses in database. Also DBmodel no longer needs the platform input for its constructor