Added the ability to pass metadata keypairs to instances

Added the ability to pass metadata configurations to the new instance.