adds package gui and finish the part of GUI