added log view, a few crud functions, and starting with balance handling etc