delete hardcode, rename class, move class to 'gui' package
fix bug