Simplify init of main and mutable now that they are not persisted attributes of stack