Fix some problems with type id
Now to add a connection with a child object is transmitted only child id
Add infrastructure for logs
Add additional options for logs
Fix problem with bool and MySql