added GET /stories operation; additional refactorings