add cms prototype, commited from medan :)