Add centering for generated facets to cover the center of area rather than left-top corner.
Refactor facet generation code to separate package.
closes #13.