create subs controller and views