include main files in hat.rb