Added CGI as a dependency for use of the liftIO function
Forgot to change saving the database to spaces instead of commas
Added new routes for the results of having made a new page, and redirecting based on a key in the database.