Add basic pwd program
Move version printing to a common library