New version with Rest interfaces