log module
log module - add debug
added actions to core
moves action