Initial structure for raw python implementation