Modules loading based on configuration