Added splash screen functionality