refact and add model for account
refact and add model for account