check for needed modules on  module init method.