save interval objects so that they can be stopped later.
Made the check and plant invervals configurable.
Save flag delivery result in database.