Added other methods to database.js
Changed port on index.js. Added js.html template for index
Updated database.js, added settings.js and fixed widget_server.js