Pre big update
Renamed junk method
Refactor methods to helper class
Add a method for checking the db integrity