Made easier to move from database to database with constants table. Code that isn't needed deleted. Still need to clean up but working for now.