adds new class with main method. adds order of citation in text