[PLAT-6548] Make AnalyticsEnvironment.setInstace() static

Reorder class layout & fix javadoc error