Parse arguments from command line

- Display log message
- Using shared_ptr