Moving sample code to separate module.