Refactor in DB/Sheet class, test and debug in progress