refactor loop for fields to keep
change PHP_EOL to \n
add composer.phar to .gitignore
update dist files