Simplified API
Added ctor to record accessors
Fixed Elm type errors