Moved executeProgram to separate class Execute, to avoid linking
problems.