Added favicon
Added logger hook. Refactored code
Added logs output for admin