Logging and testing

PR 
 + created conf files for testing
 + added logging to source code