A Concept of an Algebraic Generalisation of Petri Nets