Clean up code by require_relative
Use system Kernel#warn