Added Convert class
created functions in seperate file