Added an account class and its test. Modified an migration of accounts