added controllers and fixed module