Likes table restructuring

- removed Likings table
- added like counter
- moved around some code to more proper places