Initial SQL and dataobjects for blocks.
Merge pull request #7 from gauthierm/data-objects

Initial SQL and dataobjects for blocks.