added transaction class and removeAccount method to DB