Added `flat` scheme
Updated package.json
Added tests for `flat` scheme