Fix constructors
Added missing DatabaseBlock property in Block class
Rename enum DataSourceQueryType -> QueryDataSourceType
Fix BlockRelation constructor and add the Generate method
Added a sample app