A basic main method