It currently uses a short perl script to create the view and design doc. This should be done in PHP if possible