diff --git a/.github/FUNDING.yml b/.github/FUNDING.yml
deleted file mode 100644
index 37570fb..0000000
--- a/.github/FUNDING.yml
+++ /dev/null
@@ -1,12 +0,0 @@
-# These are supported funding model platforms
-
-github: javascriptteacher # Replace with up to 4 GitHub Sponsors-enabled usernames e.g., [user1, user2]
-patreon: js_tut
-open_collective: # Replace with a single Open Collective username
-ko_fi: # Replace with a single Ko-fi username
-tidelift: # Replace with a single Tidelift platform-name/package-name e.g., npm/babel
-community_bridge: # Replace with a single Community Bridge project-name e.g., cloud-foundry
-liberapay: # Replace with a single Liberapay username
-issuehunt: # Replace with a single IssueHunt username
-otechie: # Replace with a single Otechie username
-custom: https://www.paypal.me/learningcurve1
diff --git a/.idea/misc.xml b/.idea/misc.xml
deleted file mode 100644
index 639900d..0000000
--- a/.idea/misc.xml
+++ /dev/null
@@ -1,6 +0,0 @@
-
-
-
-
-
-
\ No newline at end of file
diff --git a/.idea/modules.xml b/.idea/modules.xml
deleted file mode 100644
index 935c7b9..0000000
--- a/.idea/modules.xml
+++ /dev/null
@@ -1,8 +0,0 @@
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/.idea/vcs.xml b/.idea/vcs.xml
deleted file mode 100644
index 94a25f7..0000000
--- a/.idea/vcs.xml
+++ /dev/null
@@ -1,6 +0,0 @@
-
-
-
-
-
-
\ No newline at end of file
diff --git a/index.html b/index.html
deleted file mode 100644
index 95ae79b..0000000
--- a/index.html
+++ /dev/null
@@ -1,162 +0,0 @@
-
-
-
-
-
-
diff --git a/index.js b/index.js
deleted file mode 100644
index a5d6e81..0000000
--- a/index.js
+++ /dev/null
@@ -1,55 +0,0 @@
-let http = require('http');
-let fs = require('fs');
-let path = require('path');
-
-/* note, mysql must be installed (npm install mysql) and mysql server running on localhost or elsewhere*/
-let { API, database } = require('./module/api/api.js');
-
-database.create();
-
-process.env.node_env = "localhost";
-
-// replace xx.xx.xx.xxx with your own remote IP address or localhost (127.0.0.1)
-const ip = '23.239.21.207';
-const port = process.env.node_env === 'production' ? 80 : 3000;
-
-http.createServer(function(request, response) {
-
- console.log('request ', request.url);
-
- let filename = '.' + request.url;
- if (filename == './')
- filename = './index.html';
-
- let extension = String(path.extname(filename)).toLowerCase();
- let mime = { '.html': 'text/html', '.js': 'text/javascript', '.css': 'text/css', '.json': 'application/json', '.png': 'image/png', '.jpg': 'image/jpg', '.gif': 'image/gif', }
- let contentType = mime[extension] || 'application/octet-stream';
-
- fs.readFile(filename, function (error, content) {
- if (error) {
- if (error.code == 'ENOENT') {
- if (API.catchAPIrequest( request.url ))
- API.exec(request, response);
- else
- fs.readFile('./404.html', function (error, content) {
- response.writeHead(200, { 'Content-Type': contentType });
- response.end(content, 'utf-8');
- });
- } else {
- response.writeHead(500)
- response.end('Server error: ' + error.code + ' ..\n');
- response.end();
- }
- } else {
- console.log("API request detecting...");
- response.writeHead(200, { 'Content-Type': contentType });
- response.end(content, 'utf-8');
- }
- });
-}).listen(port, ip);
-
-process.on('exit', function () { database.connection.end(); console.log('process.exit'); });
-process.on('SIGINT', function () { console.log('Ctrl-C...'); database.connection.end(); process.exit(2) });
-process.on('uncaughtException', function(e) { console.log(e.stack); database.connection.end(); process.exit(99); });
-
-console.log('Server running at http://' + ip + ':' + port + '/');
\ No newline at end of file
diff --git a/module/api/api.js b/module/api/api.js
deleted file mode 100644
index f76a376..0000000
--- a/module/api/api.js
+++ /dev/null
@@ -1,414 +0,0 @@
-const ip = require('ip');
-const mysql = require('mysql');
-// Standard MD5 hashing algorithm
-const md5 = require('./../md5/md5.js');
-// Standard FIPS 202 SHA-3 implementation
-const { SHA3 } = require('sha3');
-// The Keccak hash function is also available
-const { Keccak } = require('sha3');
-
-// Generate timestamp: if full argument is false/undefined,
-// timestamp is divided by 1000 to generate linux-length timestamp
-function timestamp(full) {
- let date = new Date();
- let timestamp = date.getTime();
- return full ? Math.floor(timestamp) : Math.floor(timestamp / 1000);
-}
-
-// Generate string "1s", "2h", etc between now and "time" argument
-function elapsed( time ) {
- const $SECONDS = Math.abs(timestamp() - time);
- const $iv_table = ["s","min","h","d","mo","y","s","min","h","d","mo","y"];
- const $iv = [$SECONDS,
- ($SECONDS-($SECONDS%60))/60,
- ($SECONDS-($SECONDS%3600))/3600,
- ($SECONDS-($SECONDS%(3600*24)))/(3600*24),
- ($SECONDS-($SECONDS%(3600*24*30)))/(3600*24*30),
- ($SECONDS-($SECONDS%(3600*24*30*12)))/(3600*24*30*12)];
- for (let $i = 5; $i >= 0; $i--) {
- $r = $iv[$i];
- if ($r > 0) {
- if (($r > 1 || $r == 0))
- $i += 6;
- return $r + "" + $iv_table[$i];
- }
- }
-}
-
-// Check if property with value exists on an object
-Object.prototype.exists = function(property_name, value) {
- for (let i = 0; i < this.length; i++) {
- let o = this[i];
- if (o[property_name] != undefined)
- if (o[property_name] == value)
- return true;
- }
- return false;
-}
-
-// Check if value exists in array
-Array.prototype.exists = function(value) {
- for (let i = 0; i < this.length; i++)
- if (this[i] == value)
- return true;
- return false;
-}
-
-class database {
- constructor() { }
- static create() {
- let message = "Creating MySQL connection...";
- this.connection = mysql.createConnection({
- host : 'XX.XX.XX.XXX', // or localhost
- user : 'root',
- password : 'PassWord123!',
- database : 'databasename'
- });
- this.connection.connect();
- console.log(message + "Ok.");
- }
-}
-
-// Requires payload.email_address =