Modified a bit the parser so empty lines doesn\t lead to an exception. Added few methods to save all the data