clone of github.com/TBAA/resource_controller