New Feature: get the command line arguments to deciede if the application runs in the UI mode or console mode