Added class file in response to issue #99 .