Added livereload, using a Guardfile. Using server.log to detect a nodemon server reload. Now linking database tables with a foreign key. Also writing switch properties in json format to the database.
added view to the db-tool.js