add ignore pattern
split the init file