MAJOR Added basic working routine.

Changes:
 -- option parser with help messages;
 -- processing of exceptions;
 -- eternal cycle with dummy inside.