Init initializer list in declaration order

Fixes a minor GCC warning
Add missing header for std::runtime_error
Merge pull request #7 from rsaxvc/new-api

Init initializer list in declaration order