cleaning up
updated p
changed logging files to resource dir