Split GUI off into different module