Added comments and removed unnecessary lines of codes.

Added splash screen