Introduce logger
Record log on some places
Introduce scheduler