Moving the example codebase to SDK 0.4.x