an approach to create a simple, flexible sfml GUI