Move all app logic inside the return to avoid memory leak
Bump to v1.6