Finished app logic and UI