Added support for setting a memory capacity
Updated readme
Updated podspec