SAF-class has become static. Also version id is dynamicaly loaded for saf-admin login page. And some minor fixes.
fixed api and file for saf being static