refactored questions controller and specs