Make the check methods more easy to underestand, move logger_init to check()