Separate gui elements into separate classes