various changes
Added a gui