diff --git a/README.md b/README.md
new file mode 100644
index 0000000..dff7b07
--- /dev/null
+++ b/README.md
@@ -0,0 +1,28 @@
+![BauDas Logo](https://services.joethei.xyz/images/bauDas.png)
+#Kundenkarten Verwaltung
+
+[![Build Status](https://teamcity.joethei.xyz/app/rest/builds/buildType:(id:Studium_Programmierung_Softwareprojektmanagement_SpmProd)/statusIcon)](https://tcstatus.joethei.space/dashboard/spm)
+[![Quality Gate](https://sonarqube.joethei.xyz/api/project_badges/measure?project=Studium_Programmierung_Softwareprojektmanagement&metric=alert_status)
+![Code Coverage](https://sonarqube.joethei.xyz/api/project_badges/measure?project=Studium_Programmierung_Softwareprojektmanagement&metric=coverage)](https://sonarqube.joethei.xyz/dashboard?id=Studium_Programmierung_Softwareprojektmanagement)
+
+## Requirements
+
+- Java 8
+- Maven 3
+- Tomcat 9
+
+## Development Setup
+
+- clone this repository
+- import it into your preferred editor
+- start the server with maven goal ````tomcat7:run````
+- change stuff
+- restart the server if needed
+
+
+## TODO: better Name for this
+- clone this repository
+- run maven goal ````package````
+- war can be found in target folder
+
+© 2019 Ihni GmbH
\ No newline at end of file
diff --git a/pom.xml b/pom.xml
index b498d69..fc47fbe 100644
--- a/pom.xml
+++ b/pom.xml
@@ -16,8 +16,10 @@
1.8
checkstyle.xml
UTF-8
+ ${project.build.directory}/jacoco.exec
+
Johannes Theiner
@@ -213,6 +215,34 @@
+
+
+ org.jacoco
+ jacoco-maven-plugin
+ 0.8.4
+
+
+ default-prepare-agent
+
+ prepare-agent
+
+
+
+ default-report
+ prepare-package
+
+ report
+
+
+
+ default-check
+
+ check
+
+
+
+
+
diff --git a/src/main/java/de/hsel/spm/baudas/web/TopFlopArticleDiagram.java b/src/main/java/de/hsel/spm/baudas/web/TopFlopArticleDiagram.java
new file mode 100644
index 0000000..2d6692f
--- /dev/null
+++ b/src/main/java/de/hsel/spm/baudas/web/TopFlopArticleDiagram.java
@@ -0,0 +1,58 @@
+package de.hsel.spm.baudas.web;
+
+import com.google.gson.Gson;
+import de.hsel.spm.baudas.analysis.TopFlopArticle;
+import org.jetbrains.annotations.NotNull;
+
+import javax.servlet.annotation.WebServlet;
+import javax.servlet.http.HttpServlet;
+import javax.servlet.http.HttpServletRequest;
+import javax.servlet.http.HttpServletResponse;
+import java.io.File;
+import java.io.IOException;
+import java.io.PrintWriter;
+import java.nio.charset.StandardCharsets;
+import java.util.*;
+
+/**
+ * @author Johannes Theiner
+ * @version 0.1
+ * @since 0.1
+ **/
+
+@WebServlet("/top_flop")
+public class TopFlopArticleDiagram extends HttpServlet {
+
+ private static final long serialVersionUID = 6567531464214L;
+
+ @Override
+ protected void doGet(@NotNull HttpServletRequest req, @NotNull HttpServletResponse resp) throws IOException {
+ req.setCharacterEncoding(StandardCharsets.UTF_8.name());
+ resp.setCharacterEncoding(StandardCharsets.UTF_8.name());
+ resp.setContentType("application/json");
+ PrintWriter out = resp.getWriter();
+
+ Gson gson = new Gson();
+
+ UUID uuid = UUID.fromString(req.getParameter("id"));
+ File file = Data.get(uuid);
+
+ TopFlopArticle articles = new TopFlopArticle(file);
+ Map map = articles.getResult();
+
+ Map> result = new HashMap<>();
+
+ List labels = new ArrayList<>();
+ List data = new ArrayList<>();
+
+ for(Map.Entry entry : map.entrySet()) {
+ labels.add(entry.getKey());
+ data.add(entry.getValue().toString());
+ }
+
+ result.put("labels", labels);
+ result.put("data", data);
+
+ out.print(gson.toJson(result));
+ }
+}
\ No newline at end of file
diff --git a/src/main/webapp/data/flop_articles.json b/src/main/webapp/data/flop_articles.json
deleted file mode 100644
index b0aeaf9..0000000
--- a/src/main/webapp/data/flop_articles.json
+++ /dev/null
@@ -1,26 +0,0 @@
-{
- "labels": [
- "Insgesamt",
- "Gruppe 1",
- "Gruppe 2",
- "Gruppe 3"
- ],
- "data1": [
- 50,
- 10,
- 20,
- 30
- ],
- "data2": [
- 30,
- 5,
- 20,
- 5
- ],
- "data3": [
- 80,
- 20,
- 30,
- 30
- ]
-}
\ No newline at end of file
diff --git a/src/main/webapp/data/shoping_times.json b/src/main/webapp/data/shoping_times.json
deleted file mode 100644
index 4b072f3..0000000
--- a/src/main/webapp/data/shoping_times.json
+++ /dev/null
@@ -1,18 +0,0 @@
-{
- "labels": [
- "8-9",
- "9-10",
- "10-11",
- "11-12",
- "12-13",
- "13-14"
- ],
- "data1": [
- 12,
- 19,
- 3,
- 5,
- 2,
- 3
- ]
-}
\ No newline at end of file
diff --git a/src/main/webapp/data/sold_articles.json b/src/main/webapp/data/sold_articles.json
deleted file mode 100644
index d283062..0000000
--- a/src/main/webapp/data/sold_articles.json
+++ /dev/null
@@ -1,12 +0,0 @@
-{
- "labels": [
- "Gruppe 1",
- "Gruppe 2",
- "Gruppe 3"
- ],
- "data1": [
- 2055,
- 816,
- 953
- ]
-}
\ No newline at end of file
diff --git a/src/main/webapp/data/top_articles.json b/src/main/webapp/data/top_articles.json
deleted file mode 100644
index 78c9e67..0000000
--- a/src/main/webapp/data/top_articles.json
+++ /dev/null
@@ -1,30 +0,0 @@
-{
- "labels": [
- "Insgesamt",
- "Gruppe 1",
- "Gruppe 2",
- "Gruppe 3"
- ],
- "label1": "Gartengeräte",
- "data1": [
- 150,
- 50,
- 50,
- 50
- ],
- "label2": "Eisenwaren",
- "data2": [
- 120,
- 10,
- 80,
- 30
- ],
- "label3": "Baumaterialien",
- "data3": [
- 200,
- 102,
- 53,
- 45
- ]
-
-}
\ No newline at end of file
diff --git a/src/main/webapp/footer.jsp b/src/main/webapp/footer.jsp
index e6dd7bc..5e91340 100644
--- a/src/main/webapp/footer.jsp
+++ b/src/main/webapp/footer.jsp
@@ -7,17 +7,18 @@
+
-
-<%--
-
---%>
+
+
+<%----%>
+