Custom configuration file

Added a config file and abstracted out some fields to variables there.
Adding feeds is also done via API now instead of database writing.