@Override
    public void start(Map<String, List<String>> incAttributes, String incUrl, Socket socket) {
        System.out.println("Starting RainbowSystem Plugin");
        ResponseHandler respHandle = new ResponseHandler(socket);
        if (incAttributes.isEmpty()) {
            try {
                respHandle.startStream();
            } catch (IOException ex) {
                System.out.println("Could not start stream: " + ex);
            }
            showStarterScreen(respHandle);
            respHandle.closeStream();
        } else {
            for (Map.Entry<String, List<String>> entry : incAttributes.entrySet()) {
                String key = entry.getKey();
                System.out.println(key);
                if (key.equals("action")) {
                    try {
                        respHandle.startStream();
                    } catch (IOException ex) {
                        System.out.println("Could not start stream: " + ex);
                    }

                    System.out.println("Key: " + key);
                    for (String value : entry.getValue()) {
                        switch (value) {
                            case "addEntry":
                                proceedRequest(respHandle, incAttributes, "add");
                                respHandle.closeStream();
                                break;
                            case "getHash":
                                proceedRequest(respHandle, incAttributes, "show");
                                respHandle.closeStream();
                                break;
                            case "showDB":
                                showDB(respHandle);
                                respHandle.closeStream();
                                break;
                            default:
                                System.out.println("Unknown action");
                                showStarterScreen(respHandle);
                                respHandle.closeStream();
                                break;
                        }
                    }
                } else {
                    showStarterScreen(respHandle);
                    respHandle.closeStream();
                }
            }
        }
    }