Moving stuff out too long main method