Module and function names ust be atom
Improve logging