Correct arm files, add debug web service, implement insert function