initial class for swing gui