Added a conversions rpc file with some basic conversion functions in