Compute instance

added destroy, get_state, and populating persisted resource functionality