Changing the Configuration to a standard proc
Setup for database usage (initial)
Solving a reference error for 404 and 500 pages