Add log to .gitignore
Implement log module
Integrate log initialization in main module