* added linking with Numerics package
* collected Singleton code in extra template