Add imports and updated tx parsing stuff