ls command support added, returning a JSONArray to the UI added