preparing main class for controller module