Added a separated function class and included it within the man program.