added log support
fixed merge
initial commit of dbHandler
added better documentation
included database structs inside file