Reorganize clock startup sequence