Move init behavior into namespace, unit tests