Rewrote the analytics with our new ideas. Currently it only prints the result out to stdout. You will need the MariaDB jar in your classpath and fill in the db details in the 'DatabaseConnector.java' file.