OOD base code and console version added.