added phone class and database setup file