Add analyzer classes and move shared js files to new directory