Preload all source files and fix broken classes