Added static main method.