Update entry point class not to use method main