added FSDatabase to library project
added validateSchemaFields