Fix Liked api, refactoring models