Add primitives as part of GSoC-2014