Move InfoBox into own class file