Enhanced main with OOP and icon