Moved cpu registers into private of class