Created initial structure & code for opinions
Revert "Created initial structure & code for opinions"

This reverts commit da3dcc70a28eb8dd19302fed14dc6257587ddbf0.
Fixing bug (initially assumed objects are sorted)

Fixed a bug where initially I assumed all objects are sorted from the
database (was testing with sqlite3), when tested with postgresql, the
query was sorted differently hence made a fix that assumes that data is
unsorted.