Dan Winkler - 2010-10-15

Patch to add memory allocation factory