refactored GUI class, enabled buttons