renamed class janalysis as jag_analysis and changed analysis to complementary constructor function