adding a file for constants and useful conversion functions