add new main controller

add new main controller