removed main function from SGFParser