tmp version of parser. check program configuration todo

Signed-off-by: Krzysztof Opasiak <ups100@tlen.pl>