make sample project runnable without spring
allow configuration initializer customizable
write doc