made log to file, created log source and include files