moved namespace loading into class initializer