getting version in upload amd.version file
working in dev mode if version file does not exists
Clean up of previous core-prod (not necessary since config is in
secrets.php)
clean up of require