made analysis methods static and changed its dependencies