separate files into top-level namespaces, add rest controller service provider and resolver
fix puppet manifest to support puppet 3.4