Added basic command line parsing. Implemented 'init' method, which initializes the logbook (to be run only upon first use).