Adding resource spawner code

This code is pulled from svn without retainin history :(

This is the initial code that will be used to deploy
openstack for testing.