Logic seperation

Added a decorators to inject the computing logic into itpy. This means that all our generator functions can be used outside of this tail-chained syntax.