Version refactoring

Refactored release info and upgrade process.