Basic exception handling and db modifications.

Added exception handling for adding duplicate feeds.