public class TranslatorController {
public static void main(String[] args) throws IOException {
SourceLoader sourceLoader = new SourceLoader();
Translator translator = new Translator(new URLSourceProvider());
System.out.println("Input source to translate or type 'exit' to exit...");
Scanner scanner = new Scanner(System.in);
String command = scanner.next();
while (!"exit".equals(command)) try {
String source = sourceLoader.loadSource(command);