[home] refact model layer