moving active support inside the main class