added new table 4 timestamps, some methods and database clearing
cant test it hope it is working