Convert to library, move console client specific data to WowTTY repository