Cleaning Arx + add documentation