All the garbage code for my disertation paper (SRVER JAVA)