added ptach function
added the set() function in document
refactoring into several files
changed schema et fields validation, it works
added GenericCollection and SystemCollection types
updated tests

etc..
findKey to find documents by key