Main entry of program.
Initializes logging, database access, the Qt framework,
and displays the main window to the user.
Todo
Instead of adding each series sequentially, the model could be
expanded with a method to add multiple series, which
could speed up the application’s start.