Added implemenattion of sample with components. Added server start/restart/stop automation