Ported from cpp-netlib 0.8 to 0.10
Updated controller API to use objects instead of classes