Initial commit of existing implementations with draft test cases