Move constant variables into separate file.
Remove unused variables.