Building Kinetic Models For Complex Systems With Arbitrary Memories