refactoring version related files