Refactor EntryPoint class to improve readability.
Reformat according to new conventions.