created first draft of conversion interface code. also drafted intial
tests