Full source code of the app