Refactor requirements files