Add requirements and testing to docs.
Add a factory class to make creating resources easier.