Add new chunk module to parser subpackage

New chunk module with split() function to separate a chunk into
attributes and code.