added db class and db test code.
added rss parser methods.