diff --git a/Server/HTML/Spin.cs b/Server/HTML/Spin.cs
new file mode 100644
index 0000000..fefa184
--- /dev/null
+++ b/Server/HTML/Spin.cs
@@ -0,0 +1,121 @@
+
+namespace Server.HTML
+{
+ public class Spin
+ {
+ private static string html = @"
+
+
+
+ Roulette
+
+
+
+
+
Spin the Roulette!
+
+
+
Click to Spin!
+
+
+
+
+
+";
+ public static async Task Main(HttpContext context)
+ {
+ await context.Response.WriteAsync(html);
+ }
+ }
+}
diff --git a/Server/Program.cs b/Server/Program.cs
index a9f8123..7d82e5e 100644
--- a/Server/Program.cs
+++ b/Server/Program.cs
@@ -1,3 +1,4 @@
+using Server.HTML;
using Server.System;
var builder = WebApplication.CreateBuilder(args);
@@ -17,120 +18,7 @@ var app = builder.Build();
//app.MapPost("/update", GItWebhook.Process);
-app.MapGet("/spin", async context =>
-{
- await context.Response.WriteAsync(@"
-
-
-
- Roulette
-
-
-
-
-
Spin the Roulette!
-
-
-
Click to Spin!
-
-
-
-
-
-
- ");
-});
+app.MapGet("/spin", Spin.Main);
app.MapPost("/spin/random", async context =>
{