Fix issue where UI is blocked when fetching the data

- code cleanup
- Add splashscreen images
More code refactoring