fix various bugs
use keywords when defining package
basic pgn parsing runs, but does not work