public static void main(String[] args) {
		StartUpView start = new StartUpView();
		Thread startUpViewT = new Thread(start);
		startUpViewT.start();
		try {
			startUpViewT.join();
		} catch (InterruptedException e) {
			Log.getLogger().log(Level.WARNING, "Interrupted", e);
		}
		
		//TODO Uncomment these the first run if you need to recreate the database
		//insertTestFileObjectsIntoDatabase();

		MainViewInitiator mainView = new MainViewInitiator(start);
		mainView.getMainModel().startNotify();
		se.cth.hedgehogphoto.database.Files.getInstance().addObserver(mainView.getMainView());

		File pluginRooDir = new File(System.getProperty("user.home") + System.getProperty("file.separator") + "plugin");
		PluginLoader pluginLoader = new PluginLoader(mainView.getMainView(), pluginRooDir, true);
		Thread pluginLoaderT = new Thread(pluginLoader);
		pluginLoaderT.start();	
	}