added implementation for crate converter. added test cases