Application Logic, started with GUI