Added 'main' method