Logging added: first approach

+ Logging for exceptions (stack trance is logged to a file)
+ Routine can be logged (written to external textfile). The features and
exported properties can be added according to our needs.