added transaction database for int/added iostream in other two database classes