Added configuration routines.
Added configuration routines.
A bunch of new changes plus a new working example. =)