Refactored actions to fit our existing schema.

Does not create data and ID fields that are missing. Getting close to
something useable.