add tests soon.
add license and npm package description
refactored. cleaned up exported API.
demonstrate flexibility of dimensions and display.