Move most functions into separate files. File sequencer.c is reserved for alloc, free and duplicating functions. There should be no functional changes.