Parsing getStages module further to split it into each separate thing