added doctrine and also worked on registering the questions