refactory controllers
Signed-off-by: WinterSilence <info@handy-soft.ru>