Added dimensions dispatch, relates to issue #45.
- Added dispatch
- Added prototype
- Added tests for API/SDK