Added main entrypoint