Fix the stage number parsing
Make the parser and add the files for upgrades