Added basic GUI and removed command line interface
Also added power function