Removed extras in database and classes.
Application setting for flush interval.