Adding example program

The beginning of an auto fac example