added gitignore and moved reduce_data to utils