little refactoring made * need script to split each of the cameras position and sort it by date + some code moving ourside the worker.php