change copyright to 2013 for config.c/h
added ret-alloc/intrs/free commands where necessary