fixed bug in the replication controller -> pod helper function and added a sample program we can use from the command line