Reformatted the code
Added the database views required to serve the National Reports