Add caching option and do not parse feeds twice
Clean up main tpl