Fix require -> require_relative. Refactor command (make check_ methods private and add check_ban).