Size added for folders in the database structure.
Integers replaced by Numeric to respect SQLite datatypes.
Tests improved.
Corrections after modifications from summer based on UnitTests.