Added conversion function
Added some comments and file header