check if data-system is started when retrieve applications
write readable json file
improve error npm retrieval