removing old php files that are not in use. Changing where constants are stored