small static init implementation with support for services