Updated provider

This commit moves the majority of the code into methods for the install
action. It also updates the variables within the provider to correctly
use new_resource instead of @zip or @new_resource.