Fixing warnings. Adding command-line options
Adding more extenals related to ItemModel
Working on example