diff --git a/src/Pace.Server/App.axaml b/src/Pace.Server/App.axaml
new file mode 100644
index 0000000..5645ee5
--- /dev/null
+++ b/src/Pace.Server/App.axaml
@@ -0,0 +1,10 @@
+
+
+
+
+
\ No newline at end of file
diff --git a/src/Pace.Server/App.axaml.cs b/src/Pace.Server/App.axaml.cs
new file mode 100644
index 0000000..23234b6
--- /dev/null
+++ b/src/Pace.Server/App.axaml.cs
@@ -0,0 +1,31 @@
+using Avalonia;
+using Avalonia.Controls.ApplicationLifetimes;
+using Avalonia.Markup.Xaml;
+using Pace.Server.View;
+using Pace.Server.ViewModel;
+
+namespace Pace.Server;
+
+///
+/// Interaction logic for App.xaml
+///
+public partial class App : Application
+{
+ public override void Initialize()
+ {
+ AvaloniaXamlLoader.Load(this);
+ }
+
+ public override void OnFrameworkInitializationCompleted()
+ {
+ if (ApplicationLifetime is IClassicDesktopStyleApplicationLifetime desktop)
+ {
+ desktop.MainWindow = new MainWindow
+ {
+ DataContext = new MainViewModel(),
+ };
+ }
+
+ base.OnFrameworkInitializationCompleted();
+ }
+}
\ No newline at end of file
diff --git a/src/Pace.Server/App.config b/src/Pace.Server/App.config
deleted file mode 100644
index 731f6de..0000000
--- a/src/Pace.Server/App.config
+++ /dev/null
@@ -1,6 +0,0 @@
-
-
-
-
-
-
\ No newline at end of file
diff --git a/src/Pace.Server/App.xaml b/src/Pace.Server/App.xaml
deleted file mode 100644
index 9cc6f15..0000000
--- a/src/Pace.Server/App.xaml
+++ /dev/null
@@ -1,22 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/src/Pace.Server/App.xaml.cs b/src/Pace.Server/App.xaml.cs
deleted file mode 100644
index 36392f9..0000000
--- a/src/Pace.Server/App.xaml.cs
+++ /dev/null
@@ -1,10 +0,0 @@
-using System.Windows;
-
-namespace Pace.Server;
-
-///
-/// Interaction logic for App.xaml
-///
-public partial class App : Application
-{
-}
\ No newline at end of file
diff --git a/src/Pace.Server/Converters/FileSizeConverter.cs b/src/Pace.Server/Converters/FileSizeConverter.cs
index c2e11a7..8e0ca2d 100644
--- a/src/Pace.Server/Converters/FileSizeConverter.cs
+++ b/src/Pace.Server/Converters/FileSizeConverter.cs
@@ -1,13 +1,14 @@
-using Pace.Common.Model;
+using Avalonia.Data.Converters;
+using Pace.Common.Model;
using System;
+using System.Collections.Generic;
using System.Globalization;
-using System.Windows.Data;
namespace Pace.Server.Converters;
public class FileSizeConverter : IMultiValueConverter
{
- public object Convert(object[] values, Type targetType, object parameter, CultureInfo culture)
+ public object Convert(IList