Move util libraries out into separate "piecemeal" package.
Pull out base terminal into separate package.