extract module Loader
cleanup loader