Register form and directive. Not yet integrated with other views