Removes generated files and adds ignore rules