Tests are improved
Application is refactored to be launched either with GUI and Console interface