Original pyramid code

Signed-off-by: Oren Leiman <oleiman@neutral.io>