added commandline parameters

app [-i inputFile] [-o outputFile] [-t TYPE]

TYPE:
 x for xml
 e for expressinstances

if no parameters are provided stdin, stdout and xml is used.