Console app works great!

Added infinite loop.