Db Script changes

Added a new temporary data script - for testing till we have
actual data values.

Also added a view to the logs table which is most important!!