Worker code of the LunaProject