restored pikater gateway and example to the latest version, updated to new package structure