fixed example app for new api
New documentation