Added case function
Data provider refactoring
Changed functions creation logic
Added arrays data adapter
Fixed parsing boolean values