Start of the main entrypoints