Move classes and resource type definitions into separate files.

http://docs.puppetlabs.com/guides/style_guide.html#separate-files