Added example for 'inputdir' and added some documentation #27