Main file for command line and GUI access on terminal