moving utility libraries from examples to reference