Cleaned up code

Got rid of most hard-coded values. Some had to stay because I was
getting errors when I made variables with those same hard-coded values..