Refactor complete, very short and clean Main.