./db: Created db-wrapper in order to configure db only in one place and load settings from a config module
core/dirTracker.js: 'storeAndUpdateUI' function now checks if path is already stored and if it is it doesn't do anything
server.js: Made use of riak-js 'db-utils'  wrapper module and renamed error argument