Add test for no results and extract method from conditional.
Add Template class for future handling of ERB templates.
Update dependencies.