Controlling machines connected connected to gateway through external script

I am starting on a project soon, where I am looking to abstract many of the features of ignition into my own client.
The biggest thing that I foresee would be giving commands to machines from my own script somehow.
Does this seem like something that a module would be capable of doing?
If so, could somebody point me towards some resources to help make it happen
Thanks in advance.