Run erlang challenge as main
Move error handling to runtime object