added file for central logging
files for Testing
added logging
added file-writing