Separated shared variables into separate file
Changed 'str' calls to 'unicode' in field formatting