Added feature to view quoted posts. And some refactoring