refactored some controllers/factories and created the story controller