throw error if module class routes doesnt exist, we already know the file does but make sure the class name is correct