initial commit: primitives and their tests done