Move resource parsing into the callfire class.
Add subscription parsing.